basic systemd question

Reindl Harald h.reindl at thelounge.net
Mon May 21 08:25:02 UTC 2012



Am 21.05.2012 01:08, schrieb Brian Wood:
> I'm starting to use systemd.  I've written a simple unit file and
> systemd starts the service during boot.  When I manually kill
> the process though, it doesn't get restarted the way I expected
> it would.  Is there an option to specify for that?  Thank you.


Restart=always
RestartSec=1

add the two lines in [Service] and it will exactly do what you want

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120521/7618f4a0/attachment.sig>


More information about the users mailing list