forked from oxen-io/session-push-notification-server
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
$ systemctl enable --now spns-notifier@apns.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentication is required to manage system service or unit files.
Authenticating as: Ubuntu (ubuntu)
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Authenticating as: Ubuntu (ubuntu)
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'spns-notifier@apns.service'.
Authenticating as: Ubuntu (ubuntu)
Password:
==== AUTHENTICATION COMPLETE ===
Job for spns-notifier@apns.service failed because the control process exited with error code.
See "systemctl status spns-notifier@apns.service" and "journalctl -xeu spns-notifier@apns.service" for details.
$ systemctl status spns-notifier@apns.service
● spns-notifier@apns.service - Session Push Notification Server -- apns notifier
Loaded: loaded (/etc/systemd/system/spns-notifier@apns.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2023-11-01 08:48:55 UTC; 3s ago
Process: 138982 ExecStart=/usr/bin/python3 -mspns.notifiers.apns (code=exited, status=217/USER)
Main PID: 138982 (code=exited, status=217/USER)
CPU: 2ms
systemd[1]: Starting Session Push Notification Server -- apns notifier...
systemd[1]: spns-notifier@apns.service: Main process exited, code=exited, status=217/USER
systemd[1]: spns-notifier@apns.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Session Push Notification Server -- apns notifier.
$ sudo journalctl -xeu spns-notifier@apns.service
░░ A stop job for unit spns-notifier@apns.service has finished.
░░
░░ The job identifier is 4831558 and the job result is done.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: Starting Session Push Notification Server -- apns notifier...
░░ Subject: A start job for unit spns-notifier@apns.service has begun execution
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit spns-notifier@apns.service has begun execution.
░░
░░ The job identifier is 4831558.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: spns-notifier@apns.service: Main process exited, code=exited, status=217/USER
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit spns-notifier@apns.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 217.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: spns-notifier@apns.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit spns-notifier@apns.service has entered the 'failed' state with result 'exit-code'.
Nov 01 08:59:28 vps-b0b0ebac systemd[1]: Failed to start Session Push Notification Server -- apns notifier.
░░ Subject: A start job for unit spns-notifier@apns.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit spns-notifier@apns.service has finished with a failure.
░░
░░ The job identifier is 4831558 and the job result is failed.
Metadata
Metadata
Assignees
Labels
No labels