Skip to content
Snippets Groups Projects
acmeserver.service 400 B
Newer Older
  • Learn to ignore specific revisions
  • ale's avatar
    ale committed
    [Unit]
    Description=ACMEserver
    After=network.target
    
    [Service]
    User=acmeserver
    Group=acmeserver
    EnvironmentFile=-/etc/default/acmeserver
    ExecStart=/usr/bin/acmeserver --addr $ADDR
    Restart=always
    
    # Hardening
    NoNewPrivileges=yes
    PrivateTmp=yes
    PrivateDevices=yes
    ProtectHome=yes
    ProtectSystem=full
    ReadOnlyDirectories=/
    CapabilityBoundingSet=CAP_NET_BIND_SERVICE
    
    [Install]
    WantedBy=multi-user.target